var app = getApp()
Page({
  data: {
   arrays:{},
  },
    onLoad: function (options) {

        var that = this;
        //调用应用实例的方法获取全局数据
        // 页面初始化 options为页面跳转所带来的参数
         wx.request({
             url:'http://app.benqmedicalcenter.com:8090/QueryMaintain.ashx',
             data:{
                 err_user:'Sun.Li',
                 time:'week',
             },
             method:'GET',
             success:function (res) {
               console.log(res.data[0].mid)
               that.setData({
                   arrays:res.data
               })
             }
         })
    }
})
